﻿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
	<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
		<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
			<c:set var="ctx" value="${pageContext.request.contextPath}" />
			<html>

			<head>
				<link rel="stylesheet" href="${ctx}/common/common.css">
				<title>Title</title>
				<link rel="stylesheet" href="${ctx}/common/plugins/layuiadmin/layui/css/layui.css" media="all">
				<link rel="stylesheet" href="${ctx}/common/plugins/layuiadmin/style/admin.css" media="all">
				<script src="${ctx}/common/plugins/layuiadmin/layui/layui.js"></script>

				<style type="text/css">
					.rowtop {
						padding: 10px
					}

					.valtop {
						padding: 9px
					}
				</style>
			</head>

			<body>

				<div class="layui-fluid">
					<div class="layui-row rowtop" style="margin-top: 20px;">
						<div class="layui-col-md5">
							<label class="layui-form-label">加工单编号</label>
							<div class="layui-input-block valtop">
								${map.workCode}
							</div>
						</div>

					</div>


					<div class="layui-row rowtop">
						<div class="layui-col-md5">
							<label class="layui-form-label">生产企业</label>
							<div class="layui-input-block valtop">
								${map.enterpriseName}
							</div>
						</div>
						<div class="layui-col-md5">
							<label class="layui-form-label">生产批次</label>
							<div class="layui-input-block valtop">
								${map.batchCode}
							</div>
						</div>

					</div>
					<div class="layui-row rowtop">
						<div class="layui-col-md5">
							<label class="layui-form-label">产品名称</label>
							<div class="layui-input-block valtop">
								${map.name}
							</div>
						</div>
						<div class="layui-col-md5">
							<label class="layui-form-label">产品类型</label>
							<div class="layui-input-block valtop">
								${map.pro_cla_name}
							</div>
						</div>

					</div>
					<div class="layui-row rowtop">
						<div class="layui-col-md5">
							<label class="layui-form-label">产品标准号</label>
							<div class="layui-input-block valtop">
								${map.perfStandard}
							</div>
						</div>
						<div class="layui-col-md5">
							<label class="layui-form-label">规格/单位</label>
							<div class="layui-input-block valtop">
								${map.specifications}
							</div>
						</div>
					</div>
					<div class="layui-row rowtop">
						<div class="layui-col-md5">
							<label class="layui-form-label">生产车间</label>
							<div class="layui-input-block valtop">
								${map.chejian}
							</div>
						</div>
						<div class="layui-col-md5">
							<label class="layui-form-label">生产产线</label>
							<div class="layui-input-block valtop">
								${map.shengchanxian}
							</div>
						</div>
					</div>
					<div class="layui-row rowtop">
						<div class="layui-col-md5">
							<label class="layui-form-label">创建日期</label>
							<div class="layui-input-block valtop">
								${map.create_time}
							</div>
						</div>
					</div>

					<div class="layui-form-item">
						<div class="layui-input-block">
							<button type="button" id="rollback" class="layui-btn layui-btn-primary">返回</button>
						</div>
					</div>

				</div>


				<script>
					document.getElementById("rollback").addEventListener("click", function () {
						window.history.back();
					})
				</script>
			</body>

			</html>